# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-theodore
pkgver=0_git20200107
pkgrel=0
_commit="49180a0b55b6b1a2d56f293a42e6e37186f56beb"
pkgdesc="Thomson TO8/TO8D/TO9/TO9+ emulation for libretro"
url="https://github.com/libretro/theodore"
arch="all"
license="GPL-3.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/theodore/archive/$_commit.tar.gz"
builddir="$srcdir/theodore-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 theodore_libretro.so "$pkgdir"/usr/lib/libretro/theodore_libretro.so
}

sha512sums="a2e513507bcaeef2c63530e9753b915bef54d6f74de0bd9072ecc2b8a9949fad05d691f421922f611147f0985320a11eae7666d6f465de5673cfa6674de06db2  libretro-theodore-49180a0b55b6b1a2d56f293a42e6e37186f56beb.tar.gz"
